<?PHP
/*
 * $Id: FormForm.class.php 162 2009-12-16 16:03:27Z namba0219 $
 * =============================================================================
 * Barge - Web application framework on PHP5 
 *  
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 * =============================================================================
 * For more information, see http://barge.googlecode.com/
 */
namespace examples\actions;

use barge\System;
use barge\utils\ArrayList;
use barge\utils\HashMap;
use barge\web\ActionContext;
use barge\web\ActionForm;
use barge\web\FormFile;

/**
 * @version 1.0 2009/01/24
 * @author Kenji Namba	
 * @see ActionForm
 */
class FormForm extends ActionForm 
{
	/** @var string */
	private $name;
	
	/** @var int */
	private $age = 0;
	
	/** @var int */
	private $gender = 0;
	
	/** @var string */
	private $remarks;

	/** @var bool */
	private $marriged = false;
	
	/** @var int*/
	private $job = 0;

	/**
	 * アンケート
	 * @var ArrayList
	 */
	private $enquates;

	/**
	 * @return ArrayList
	 */
	public function getEnquates()
	{
		return $this->enquates;
	}

	/**
	 * @param ArrayList $value
	 */
	public function setEnquates(ArrayList $value)
	{
		$this->enquates = $value;
	}

	/**
	 * @return int
	 */
	public function getJob()
	{
		return $this->job;
	}

	/**
	 * @param int $value
	 */
	public function setJob($value)
	{
		$this->job = $value;
	}

	/**
	 * @return bool
	 */
	public function getMarriged()
	{
		return $this->marriged;
	}

	/**
	 * @param bool $value
	 */
	public function setMarriged($value)
	{
		$this->marriged = $value;
	}
	
	/**
	 * @return string
	 */
	public function getRemarks()
	{
		return $this->remarks;
	}

	/**
	 * @param string $value
	 */
	public function setRemarks($value)
	{
		$this->remarks = $value;
	}
	
	public function getGender()
	{
		return $this->gender;
	}

	public function setGender($value)
	{
		$this->gender = $value;
	}

	/**
	 * @return string
	 */
	public function getName()
	{
		return $this->name;
	}

	/**
	 * @param string $value
	 */
	public function setName($value)
	{
		$this->name = $value;
	}

	/**
	 * @return int
	 */
	public function getAge()
	{
		return $this->age;
	}

	/**
	 * @param int $value
	 */
	public function setAge($value)
	{
		$this->age = $value;
	}
}

